<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<style>
	.login{
		width: 200px;
		height: 0px;
		line-height: 0px;
		text-align: center;
	}
</style>
<body>
	<form action="login.do" method="post">	
		<p class="login">登陆页面 <p>
		账号：<input type="text" name="account"> 
		<c:if test="${errorLogin== '账号不存在'}">
			${errorLogin }
		</c:if>
		<br>
		密码：<input type="password" name="password"> 
		<c:if test="${errorLogin== '密码错误'}">
			${errorLogin }
		</c:if>
		<br>
		<p class="login">
			<input type="submit" value="登录">
		<p>
	</form>

</body>
</html>